package com.example.oj.mapper;

import com.example.oj.model.OJ;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Mapper
public interface OJMapper {
    List<OJ> select();
    OJ selectOne(int id);
    int insert(OJ oj);
}
